package com.jiangjiang.eshop.wms.convert;

import com.jiangjiang.eshop.wms.domain.ReturnGoodsInputOrderItem;
import com.jiangjiang.eshop.wms.dto.ReturnGoodsInputOrderItemDTO;
import org.mapstruct.Mapper;

import java.util.Collection;
import java.util.List;

/**
 * @Author Jianghaowen
 * @Date 2021/9/28
 * @Description: TODO
 * @Version V1.0
 **/
@Mapper(componentModel = "spring")
public interface ReturnGoodsInputOrderItemConvert {
    Collection<ReturnGoodsInputOrderItem> convertDTOList2Entities(List<ReturnGoodsInputOrderItemDTO> items);

    List<ReturnGoodsInputOrderItemDTO> convertEntities2DTOList(List<ReturnGoodsInputOrderItem> list);
}
